package com.example.provider.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.example.provider.service.HiService;
import org.springframework.stereotype.Component;

import java.time.LocalDateTime;

/**
 * @author: wukangrong
 * @date: 2020/12/1 16:01
 * @description:
 */
@Component
@Service(version = "1.0.0")
public class HiServiceImpl implements HiService {
    @Override
    public void sayHi() {
        System.out.println("say hi from " + LocalDateTime.now().toString());
    }
}
